export const chemicalAlias = {
  name: '名称',
  lossOnIgnition: '烧失量',
  siliconOxide: '氧化硅',
  alumina: '氧化铝',
  potassiumOxide: '氧化钾',
  sodiumOxide: '氧化钠',
  calciumOxide: '氧化钙',
  magnesiumOxide: '氧化镁',
  ironOxide: '氧化铁',
  titaniumOxide: '氧化钛',
  zincOxide: '氧化锌',
  bariumOxide: '氧化钡',
  strontiumOxide: '氧化锶',
  zirconiumSilicate: '硅酸锆',
  lithiumOxide: '氧化锂',
  sulfurOxide: '氧化硫',
  boronOxide: '氧化硼',
  leadOxide: '氧化铅'
}

export const routeAndState = [{
    name: '1-坯体球磨',
    path: '../embryo-powder-spraying/index',
    key: 'ballMillingId',
    state: null
  },
  {
    name: '2-坯体喷粉',
    path: '../dusting/index',
    key: 'dustingId',
    state: null
  },
  {
    name: '3-坯体成型',
    path: '../molding/index',
    key: 'formingId',
    state: null
  },

  {
    name: '4-坯体干燥',
    path: '../dry/index',
    key: 'dryId',
    state: null
  },
  {
    name: '5-釉料1',
    path: '../glaze/index',
    key: 'glazeId',
    state: null
  },
  {
    name: '6-印花',
    path: '../printing/index',
    key: 'printingMethodId',
    state: null
  },
  {
    name: '7-釉料2',
    path: '../glaze/index',
    key: 'glazeIdTwo',
    state: null
  },
  {
    name: '8-烧成',
    path: '../firing/index',
    key: 'firingId',
    state: null
  },
  {
    name: '9-成品',
    path: '../product/index',
    key: 'finishProductId',
    state: null
  }
]

export const mudComposition = {
  lossOnIgnition: '烧失量',
  siliconOxide: '氧化硅',
  alumina: '氧化铝',
  potassiumOxide: '氧化钾',
  sodiumOxide: '氧化钠',
  calciumOxide: '氧化钙',
  magnesiumOxide: '氧化镁',
  ironOxide: '氧化铁',
  titaniumOxide: '氧化钛',
}
export const numSettingsType = {
  RECORD: 'RECORD',
  RECIPE: 'RECIPE',
  INGREDIENTS: 'INGREDIENTS'
}

export const valueType = [{
    value: 'SELECT',
    name: '选择已有数据'
  },
  {
    value: 'INPUT',
    name: '自行输入'
  },
  {
    value: 'TIME_FORMAT',
    name: '日期格式'
  }
]

export const searchData = {
  start: '',
  end: '',
  map: {},
  name: '',
  asc: false
}
export const PARAMS_TYPE = [
  {
    name: '比重',
    value: 'glazeRatio'
  },
 {
   name: '流速',
   value: 'glazeFlowRate'
 },
 {
   name: '细度',
   value: 'ballGrindingFineness'
 },
 {
   name: '施釉量',
   value: 'glazingAmount'
 }
]
export const LOCALSTORAGE_KEY_AUTH = 'auth';
export const LOCALSTORAGE_KEY_ROOT = 'root';
export const LOCALSTORAGE_KEY_PERFORMANCE = 'performance';